<!--
 * @Author: your name
 * @Date: 2021-10-26 20:57:25
 * @LastEditTime: 2021-10-26 22:20:23
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit

 * @FilePath: \wisdom-education-admin-front-v1.0.2-master\src\components\invigilate\changemachine.vue
-->
<template>
    <el-dialog
        width="80%"
        :visible.sync="dialogVisible"
        :close-on-click-modal="false"
        @closed="closeQuestionDialog"
        title="换机信息配置">
        
    <div>
        <span>待机处理：</span><el-input style="width: 150px"></el-input>
        <el-button round>应用新的考生换机验证码</el-button>
        <el-button round>清除换机验证名单</el-button>
        <el-button round>了解如何换机</el-button>
        <el-button round>备份选定的考生答卷</el-button>
        <el-button round>还原考生答卷</el-button>
    </div>

      <!-- 底部 -->
      <span slot="footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary">完成配置</el-button>
      </span>
    </el-dialog>
</template>

<script>
export default {
    name: 'changemachine',
    props: {
       showFlag: {} 
    },
    data(){
        return {
            dialogVisible: false
        }
    },
    watch: {
        showFlag (val) {
            this.dialogVisible = val
        }
    },
    mounted () {
        this.dialogVisible = this.showFlag
    },
    methods: {
      closeQuestionDialog () {
        this.dialogVisible = false
        this.$emit('closeDialog')
      },
    }
    
}
</script>